package com.zrrd.jt_admin.common.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author ZhangYK
 * @since 2024-07-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="OrderItem对象", description="")
public class OrderItem implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "订单id")
    private Integer orderId;

    @ApiModelProperty(value = "商品id/商品规则id")
    private Integer shopId;

    @ApiModelProperty(value = "购买数量")
    private Integer num;

    @ApiModelProperty(value = "购买价格")
    private BigDecimal price;

    @ApiModelProperty(value = "评分")
    private Integer rating;

    @ApiModelProperty(value = "评价")
    private String review;

    @ApiModelProperty(value = "评价时间")
    private Integer reviewTime;

    private Integer createTime;

    @ApiModelProperty(value = "规格类型")
    private Integer skusType;

    private Integer goodsId;

    private Integer goodsNum;

    private Integer userId;

    @ApiModelProperty(value = "客服回复评论")
    private String extra;

    @ApiModelProperty(value = "是否可用,1：可用，0不可用")
    private Boolean status;


}
